PDF4Java Reference Documentation
com.o2sol.pdf4java.annotations Package
/
PDFFreeTextAnnotation Class
/ setTextColor Method
A
com.o2sol.pdf4java.graphics.colors.PDFColor
specifying the color used to display the annotation content.
Collapse All
Expand All
In This Topic
setTextColor Method
In This Topic
Sets the text color.
The color must be Gray, RGB or CMYK.
Syntax
public
void
setTextColor(
PDFColor
value
)
Parameters
value
A
com.o2sol.pdf4java.graphics.colors.PDFColor
specifying the color used to display the annotation content.
Exceptions
Exception
Description
java.lang.IllegalArgumentException
When the property is set to a color other than Gray, RGB or CMYK.
See Also
Reference
PDFFreeTextAnnotation Class
PDFFreeTextAnnotation Members